<template>
	<view class="g-page-back bg-white shadow">
		<view class="g-page-back-button padding" @click="goBack"><text class="cuIcon-back lg  padding"></text>{{title}}</view>
	</view>
</template>

<script>
	export default {
		name:"g-page-back",
		data() {
			return {
				
			};
		},
		props:{
			title:{
				type:String,
				default:"返回"
			}
		},
		methods:{
			goBack(){
				uni.navigateBack()
			}
		}
	}
</script>

<style lang="scss" scoped>

</style>
